package com.zbkj.crmeb.merchant.admin.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.crmeb.core.common.CommonResult;
import com.common.PageRequest;
import com.zbkj.crmeb.store.service.SupplierProductLogService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 商品下放日志
 * @Description: 
 * @author daigb
 * @date 2021-04-13
 */
@RestController
@RequestMapping("api/admin/mer/supplier-product-log")
@Api(tags = "品牌管理")
public class MerStoreSupplierProductLogController {
    @Autowired
    SupplierProductLogService supplierProductLogService;
    
    /**
     * 分页查询
     * @Description:  
     * @author daigb 
     * @param @param storeBrandRequest
     * @param @return
     * @return CommonResult<Object>
     * @throws
     */
    @ApiOperation(value = "分页")
    @PostMapping("/page")
    public CommonResult<Object> pageEntity(@RequestBody PageRequest request) {
        return CommonResult.success(supplierProductLogService.pageEntity(request));
    }

}
